﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough, DesignerCategory("code")]
    public class AudioEncoderConfigurationOption
    {
        private XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private int[] bitrateListField;
        private AudioEncoding encodingField;
        private int[] sampleRateListField;

        [XmlAnyElement(Order=3)]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlArray(Order=1), XmlArrayItem("Items", IsNullable=false)]
        public int[] BitrateList
        {
            get
            {
                return this.bitrateListField;
            }
            set
            {
                this.bitrateListField = value;
            }
        }

        [XmlElement(Order=0)]
        public AudioEncoding Encoding
        {
            get
            {
                return this.encodingField;
            }
            set
            {
                this.encodingField = value;
            }
        }

        [XmlArrayItem("Items", IsNullable=false), XmlArray(Order=2)]
        public int[] SampleRateList
        {
            get
            {
                return this.sampleRateListField;
            }
            set
            {
                this.sampleRateListField = value;
            }
        }
    }
}

